Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkp/pkp-lib#5199 Set the current page on the top menu - OJS 3.4 #9609

Open
wants to merge 1 commit into
base: stable-3_4_0
Choose a base branch
from

Conversation

israelcefrin
Copy link
Collaborator

This PR fixes this issue #5199:

  • Add class "active" to visually highlight the current menu item
  • Add aria-current="page" to screen readers announce the current page from the na menu
  • Increase menu items padding-top and padding-bottom when using mobile screen (24px height minimum recommended buy WCAG 2.2)

I've ported the check page function from Pragma theme adjusting the function to add the class and the aria attribute while checking for submenus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant